Auto merge of #2006 - alexcrichton:no-dylibs, r=brson
authorbors <bors@rust-lang.org>
Mon, 28 Sep 2015 22:48:29 +0000 (22:48 +0000)
committerbors <bors@rust-lang.org>
Mon, 28 Sep 2015 22:48:29 +0000 (22:48 +0000)
commitf7d90a5245ba0dff2cfa64ed496546b64aa2bee0
tree308dadf086b47b23621c77106d477adca256dfb9
parentc76e9d13db3fac1f234777c462469cb2bc49ee17
parentb8c7a4c475fbfb054395fb5cc61e3a677160b544
Auto merge of #2006 - alexcrichton:no-dylibs, r=brson

Currently it's not possible to inform Cargo about target-specific crate types,
so generating a hard error whenever a dylib is seen for a target that can't
produce dylibs is a little heavy. This commit disables management of the output
dylib (which won't actually exists) and relies on the compiler to print a
warning in the case of a dylib output on a non-dylib target.